package com.guojin.pojo.Dao;

import com.guojin.pojo.User;

import java.util.List;

/**
 * @author haoge
 * @version $Id IUserDao.java, v 0.1 2021-06-20 22:59 haoge Exp $$
 */
public interface IUserDao {
    //查询用户
    public List<User> findAll() throws Exception;

    //根据条件查询
    public User findByCondition(User user) throws Exception;
    //添加数据
    public int addUser(User user) throws Exception;
    public int updateUser(User user) throws Exception;
    public int deleteUser(User user) throws Exception;




}
